ul li:first-child {
    background: #1e3fea;
}
ul li:last-child {background: aqua}

body p:last-of-type {background: chartreuse}

/*p:last-of-type {background: coral}与上面那个一样的*/

